package com.bxd.baodan.item;

import java.util.List;

import com.bxd.baodan.base.BaseItem;

public class DetailQuestionItem extends BaseItem {

	private String q_id; //问题id
	private String q_title; //问题标题
	private String q_content;//问题内容
	private String u_id;//提问人用户id
	private String u_nick;//提问人用户昵称
	private String avatar;//提问人头像地址
	private boolean isfav;//是否收藏
	private boolean solved;//问题是否已解决
	private String q_update_date;//最新回答时间
	private String q_create_date;//提问时间
	private String q_answer_count;//回答个数
	private String city;
	private List<AnswerItem> answer_info;
	private String nick;
	private int type;//0：寿险  1：车险
	private String keyLabel;//关键标签，用逗号分隔
	private int count;//报价次数
	private double verPrice;//平均价格
	private String options;
	private List<SimilarQuestionsItem> similar_questions;
	private long isBestAnswer;
	
	
	/**
	 * @return the options
	 */
	public String getOptions() {
		return options;
	}
	/**
	 * @param options the options to set
	 */
	public void setOptions(String options) {
		this.options = options;
	}
	/**
	 * @return the type
	 */
	public int getType() {
		return type;
	}
	/**
	 * @param type the type to set
	 */
	public void setType(int type) {
		this.type = type;
	}
	/**
	 * @return the keyLabel
	 */
	public String getKeyLabel() {
		return keyLabel;
	}
	/**
	 * @param keyLabel the keyLabel to set
	 */
	public void setKeyLabel(String keyLabel) {
		this.keyLabel = keyLabel;
	}
	/**
	 * @return the count
	 */
	public int getCount() {
		return count;
	}
	/**
	 * @param count the count to set
	 */
	public void setCount(int count) {
		this.count = count;
	}
	/**
	 * @return the verPrice
	 */
	public double getVerPrice() {
		return verPrice;
	}
	/**
	 * @param verPrice the verPrice to set
	 */
	public void setVerPrice(double verPrice) {
		this.verPrice = verPrice;
	}
	public String getQ_id() {
		return q_id;
	}
	public void setQ_id(String q_id) {
		this.q_id = q_id;
	}
	public String getQ_title() {
		return q_title;
	}
	public void setQ_title(String q_title) {
		this.q_title = q_title;
	}
	public String getQ_content() {
		return q_content;
	}
	public void setQ_content(String q_content) {
		this.q_content = q_content;
	}
	public String getU_id() {
		return u_id;
	}
	public void setU_id(String u_id) {
		this.u_id = u_id;
	}
	public String getAvatar() {
		return avatar;
	}
	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}
	public String getQ_update_date() {
		return q_update_date;
	}
	public void setQ_update_date(String q_update_date) {
		this.q_update_date = q_update_date;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getU_nick() {
		return u_nick;
	}
	public void setU_nick(String u_nick) {
		this.u_nick = u_nick;
	}
	public boolean isIsfav() {
		return isfav;
	}
	public void setIsfav(boolean isfav) {
		this.isfav = isfav;
	}
	public boolean isSolved() {
		return solved;
	}
	public void setSolved(boolean solved) {
		this.solved = solved;
	}
	public String getQ_answer_count() {
		return q_answer_count;
	}
	public void setQ_answer_count(String q_answer_count) {
		this.q_answer_count = q_answer_count;
	}
	public List<AnswerItem> getAnswer_info() {
		return answer_info;
	}
	public void setAnswer_info(List<AnswerItem> answer_info) {
		this.answer_info = answer_info;
	}
	public String getNick() {
		return nick;
	}
	public void setNick(String nick) {
		this.nick = nick;
	}
	@Override
	public String toString() {
		return "DetailQuestionItem [q_id=" + q_id + ", q_title=" + q_title
				+ ", q_content=" + q_content + ", u_id=" + u_id + ", u_nick="
				+ u_nick + ", avatar=" + avatar + ", isfav=" + isfav
				+ ", solved=" + solved + ", q_update_date=" + q_update_date
				+ ", q_answer_count=" + q_answer_count + ", city=" + city
				+ ", answer_info=" + answer_info + ", nick=" + nick + "]";
	}
	public List<SimilarQuestionsItem> getSimilar_questions() {
		return similar_questions;
	}
	public void setSimilar_questions(List<SimilarQuestionsItem> similar_questions) {
		this.similar_questions = similar_questions;
	}
	public long getIsBestAnswer() {
		return isBestAnswer;
	}
	public void setIsBestAnswer(long isBestAnswer) {
		this.isBestAnswer = isBestAnswer;
	}
	public String getQ_create_date() {
		return q_create_date;
	}
	public void setQ_create_date(String q_create_date) {
		this.q_create_date = q_create_date;
	}

}
